<?php
/*
===========================================================================

  Copyright (c) 2010-2012 DSPWeb Development Team

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program.  If not, see http://www.gnu.org/licenses/

  This file is part of DSPWeb source code

===========================================================================
*/

if (!empty($error)) {
	$output .= '
<table cellpadding=0 cellspacing=0 width="45%" border="0" style="border: 1px solid #F00; border-radius: 5px; background-color: #FFA8A8; color: #F00; font-family: Verdana; font-size: 12px;">
  <tr>
    <td style="border-right: 1px solid #F00; padding: 5px; font-weight: bold; font-size: 16px; text-align: center;">!</td>
    <td style="padding: 5px; vertical-align: middle; text-align: center;">Invalid character ID or character doesn\'t exist!</td>
  </tr>
</table></center>';
}
else {
$output .= '
<form method="post" action="characters.php">
<input type="hidden" name="page" value="Delete Character">
<input type="hidden" name="charid" value="'.$id.'">
<input type="hidden" name="char" value="1">
<span style="font-size: 12px; padding-bottom: 5px;">Are you sure you want to delete this character ? (This is NOT reversible)</span><br />
<input type="submit" name="confirm" value="Yes">&nbsp;<input type="submit" name="confirm" value="No"></form></center><br />
';
}

?>